package com.achievo.know.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.dayatang.domain.BaseEntity;
import com.dayatang.domain.InstanceFactory;
@Entity
@Table(name="RAMS_CONFIG")
public class SystemConfig extends BaseEntity{
	
	@Column(name="HEAD_TITLE",length=100)
	private String headTitle;

	@Column(name="TITLE",length=100)
	private String title;
	
	@Column(name="FILE_SIZE")
	private Integer fileSize;
	
	
	public Integer getFileSize() {
		return fileSize;
	}

	public void setFileSize(Integer fileSize) {
		this.fileSize = fileSize;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getHeadTitle() {
		return headTitle;
	}

	public void setHeadTitle(String headTitle) {
		this.headTitle = headTitle;
	}

	/**
	 * 
	 */
	private static final long serialVersionUID = 3338390004316483955L;

	@Override
	public boolean equals(Object arg0) {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public int hashCode() {
		// TODO Auto-generated method stub
		return 0;
	}
	private static SystemConfigRepository systemConfigRepository;

	public static SystemConfigRepository getSystemConfigRepository() {
		if (systemConfigRepository == null) {
			systemConfigRepository = InstanceFactory.getInstance(SystemConfigRepository.class);
		}
		return systemConfigRepository;
	}
}
